﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace NutriLeaf.Web.Core.NutritionInfo
{
    public interface INutritionInfo
    {
        void AddNutritionInfo(Model.NutritionInfo nutrition, ref Model.NutriLeafDBEntities context);

        void RemoveNutritionInfo(int id, ref Model.NutriLeafDBEntities context);

        void RemoveNutritionInfo(Model.NutritionInfo nutrition, ref Model.NutriLeafDBEntities context);

        Model.NutritionInfo GetNutritionInfo(int id, ref Model.NutriLeafDBEntities context);

        void Update(Model.NutritionInfo nutrition, ref Model.NutriLeafDBEntities context);
    }
}